import { createPinia, defineStore } from "pinia";

export default createPinia()

export const useStore = defineStore("piniaStore", {
    state: () => {
        return {
            isShowLoading: false
        }
    },
    actions: {
        changeShowLoading(isShowLoading: boolean) {
            this.isShowLoading = isShowLoading
        }
    }
})